package cn.com.nes.site.entity.vo.project;

import cn.com.nes.site.entity.vo.PageVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.Set;

@ApiModel("项目分页列表查询入参模型")
@Data
public class ProjectPageVO extends PageVO {


    @ApiModelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("项目类型")
    private String projectType;

    @ApiModelProperty("项目状态")
    private String projectStatus;

    @ApiModelProperty("计划开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;

    @ApiModelProperty("计划结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;

    @ApiModelProperty("客户UUID")
    private String customerUuid;

    @ApiModelProperty("商机UUID")
    private String opportunityUuid;

    @ApiModelProperty(value = "行政区划代码集合", hidden = true)
    private Set<String> projectAreaCodeSet;

    @ApiModelProperty(value = "是否按行政区划过滤-默认为是", required = true)
    private Boolean filterByAreaCode = true;

}
